<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:p=	"http://primefaces.prime.com.tr/ui">

	<ui:decorate template="/views/home.xhtml">
		<ui:define name="centro">
			<h:form>
				<div align="center">	
					<h:panelGrid columns="2">						
					 	<h:outputText id="outLatitude" value="Latitude: " style="color:#004276"/>
						<p:inputText id="inLatitude" value="#{coordenadasManagedbean.coordenadas.latitude}"/>
						<h:outputText id="outLongitude" value="Longitude: " style="color:#004276"/>
						<p:inputText id="inLongitude" value="#{coordenadasManagedbean.coordenadas.longitude}"/>
					</h:panelGrid>
					<br/>
					<p:commandButton id="cmdSalvar" value="Salvar" action="#{coordenadasManagedbean.salvar}"/>
					<br/>
				</div>
			</h:form>
		</ui:define>
	</ui:decorate>

</html>